package com.gitee.feizns.dynamic.function;

/**
 * {@link Runnable}
 */
@FunctionalInterface
public interface ThrowableRunnable {

    /**
     * When an object implementing interface {@code Runnable} is used
     * to create a thread, starting the thread causes the object's
     * {@code run} method to be called in that separately executing
     * thread.
     * <p>
     * The general contract of the method {@code run} is that it may
     * take any action whatsoever.
     *
     */
    void run() throws Throwable;

}